import E from "wangeditor";
import { onMounted } from "vue";
export const useEditor = (id = "editor") => {
    const editor = new E(`#${id}`);
    onMounted(() => editor.create());
    return editor
}